]> dgit.raspbian.org Git - gnome-shell.git/commit
breakManager: Clarify some nextBreakType variables
authorPhilip Withnall <pwithnall@gnome.org>
Tue, 8 Apr 2025 14:28:46 +0000 (15:28 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 11 Apr 2025 13:18:48 +0000 (13:18 +0000)
commitadcd527bed21a86cd74c2583b47e993ae2576db9
tree4bc1864eb54b04503fbc94297c36cfcee711e4bc
parent76882225a40abfd15c67a031c898c2368e9edde5
breakManager: Clarify some nextBreakType variables

This doesn’t introduce any functional changes, as
`this._manager.currentBreakType` is set to the value returned by
`this._manager.getNextBreakDue()` when entering `BreakState.BREAK_DUE`.

However, it should make the code a little clearer as now the code refers
to the ’next’ break type rather than the ‘current’ one in the context of
an upcoming break.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3687>
js/misc/breakManager.js